
package cc.wfu;

import cc.wfu.feign.config.FeignConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;


@Slf4j
@Configurable
@EnableScheduling
@SpringBootApplication
@ComponentScan(value = {"cc.wfu", "cc.wfu.type"})
@EnableFeignClients(defaultConfiguration = FeignConfiguration.class, basePackages = "cc.wfu.feign.client")
public class UserServiceApplication {
    public static void main(String[] args){
        SpringApplication.run(UserServiceApplication.class);
        log.info("电子商务系统 - 用户服务开始启动...");
    }

}
